/*
 * 四川生学教育科技有限公司
 * Copyright (c) 2015-2025 Founder Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Founder. You shall not disclose such Confidential Information
 * and shall use it only in accordance with the terms of the agreements
 * you entered into with Founder.
 *
 */
package com.example.demo.service.impl;

import com.example.demo.service.AComponentService;
import com.example.demo.service.BComponentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author JiuHu.XIONG (xjh@sxw.cn)
 * @description TODO
 * @date 2018/9/25 16:53
 * @since 1.0.0
 */
@Service
public class AComponentServiceImpl implements AComponentService {

    @Autowired
    private BComponentService bComponentService;

//    @Autowired
//    public AComponentServiceImpl(BComponentService bComponentService) {
//        this.bComponentService = bComponentService;
//    }

    @Override
    public void testComponentA() {
        bComponentService.testComponentB();
    }

    @Override
    public void testComponentANew() {
        System.out.println(123);
    }
}
